/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: javase202202 - Var5
 * <p>Powered by Lisi On 2022-05-27 11:00:41
 * <p>Created by IntelliJ IDEA
 *

 * @version 1.0
 * @since 17
 */
public class Var5 {
    public static void main(String[] args) {
        //数据类型转换
        //自动转换
        long i = 6; //int 6 转换为long


        //强制转换
        int a = (int)i;


    }
}
